package cn.hicard.risk.service.bd;

import java.util.List;

import cn.hicard.core.Page;
import cn.hicard.core.PageResult;
import cn.hicard.core.Where;
import cn.hicard.risk.entity.BdBankcall;

public interface BankcallService {
	
	/**
	 * 保存单条记录
	 * @param bankcall
	 * @throws Exception
	 */
	void save(BdBankcall bankcall)throws Exception;
	
	/**
	 * 更新单条调单记录
	 * @param bankcall
	 * @throws Exception
	 */
	void update(BdBankcall bankcall)throws Exception;
	
	/**
	 * 按条件分页搜索
	 * @param condition
	 * @param page
	 * @return
	 * @throws Exception
	 */
	PageResult<BdBankcall> search(BdBankcall bankcallStart,BdBankcall bankcallEnd,Page page) throws Exception;

	/**
	 * 查询报表信息
	 * @param bankcallStart
	 * @param bankcallEnd
	 * @return
	 * @throws Exception
	 */
	List<BdBankcall> findList(BdBankcall bankcallStart,BdBankcall bankcallEnd) throws Exception;
	
	List<BdBankcall> findListByWhere(Where where) throws Exception;
	
}
